import axios from 'axios';

export async function  getArticle() {
    const {data} = await axios.get('http://localhost:8080/article');
    return data;
}

export async function  getMedicineList() {
    const {data} = await axios.get('http://localhost:8080/list');
    return data;
}